package com.zw.hrm.feignclients;

import com.zw.hrm.fallback.PageStaticFeignClientFallbackFactory;
import com.zw.hrm.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(value = "page-static-server", fallbackFactory = PageStaticFeignClientFallbackFactory.class)
public interface PageStaticFeignClient {
    @RequestMapping(value="/pager/static",method= RequestMethod.POST)
    public AjaxResult pageStatic(@RequestParam("pageName") String pageName ,@RequestParam("redisDataKey")String redisDataKey);
}
